//
//  Overload_Inheritance<<.hpp
//  learnC++
//
//  Created by liuzhibing on 2018/6/19.
//  Copyright © 2018年 yunfan.com. All rights reserved.
//

#ifndef Overload_Inheritance___hpp
#define Overload_Inheritance___hpp

#include <stdio.h>
#include <iostream>
#include <string>
#include <vector>
class Base13 {
    
public:
//    std::string m_name;
//    std::vector<int> v;
    
    Base13(){
        
//        v.push_back(2);
    }
    
    friend std::ostream &operator<<(std::ostream &out,Base13 &b);
    
    virtual std::ostream &print(std::ostream &out) const;
    
};

class Derived13 : public Base13{
    
    
public:
    Derived13(){
        
    }
    
    virtual std::ostream &print(std::ostream &out) const;
    
};


#endif /* Overload_Inheritance___hpp */
